#include "m_home.h"
#include "awtk.h"
#include "mvvm/mvvm.h"
#include "mvvm/base/utils.h"

m_home_t* m_home_create(void)
{
    m_home_t *home = TKMEM_ZALLOC(m_home_t);
    printf("m_home=%#x created\r\n", home);
    return home;
}

ret_t m_home_destroy(m_home_t* home)
{
    TKMEM_FREE(home);
    printf("m_home=%#x destroyed\r\n", home);
    return RET_OK;  
}



ret_t m_home_emit_mqtt(m_home_t *home)
{
    printf("m_home EMIT MQTT\r\n");
    return RET_OK;
}